﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPlus.Master" AutoEventWireup="true" CodeBehind="wbfrm_Buscar_Empleado.aspx.cs" Inherits="FrontEndPlus.Módulos.RRHH.wbfrm_Buscar_Empleado" %>

<%@ Register Assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Namespace="System.Web.UI.DataVisualization.Charting" TagPrefix="asp" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link type="text/css" rel="stylesheet" href="CSS/Textbox.css" />
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:Image ID="img_background" runat="server" Height= "130px" Width= "150px" ImageUrl="~/Módulos/RRHH/Resources/empleados.jpg" />
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
    <h2>Busqueda de los empleados</h2>

    <table style="width: 100%;" cellpadding="0" cellspacing="0">
        <tr>
            <td>
                <asp:Label ID="lbl_busqueda" runat="server" Text="Busqueda:"></asp:Label>
                <br />
                <br />
                <asp:TextBox ID="txt_busqueda" runat="server" CssClass="txtRRHH" maxLength="15" OnTextChanged="txt_busqueda_TextChanged"></asp:TextBox>
                <br />
                <label class="msjerror">La busqueda se realiza por medio de ID Empleado.</label>
            </td>
        </tr>
        <tr>
            <td>
                <br />
            </td>
        </tr>
        <tr>
            <td align="center">
                <asp:GridView ID="gv_informacion_Empleado" runat="server" AllowPaging="True" AutoGenerateColumns="False" BackColor="White" BorderColor="#999999" BorderStyle="None" BorderWidth="1px" CellPadding="2" PageSize="15" Width="750px" OnPageIndexChanging="gv_informacion_Empleado_PageIndexChanging" OnRowCommand="gv_informacion_Empleado_RowCommand" CellSpacing="1">
                    <AlternatingRowStyle BackColor="#DCDCDC" />
                    <Columns>
                        <asp:ButtonField CommandName="Mostrar Expediente" Text="Mostrar Expediente" />
                        <asp:ButtonField CommandName="Mostrar Rendimiento" Text="Mostrar Rendimiento" />
                        <asp:BoundField DataField="ID_EMPLEADO" HeaderText="ID EMPLEADO" ReadOnly="True" />
                        <asp:BoundField DataField="CEDULA" HeaderText="CEDULA" ReadOnly="True" />
                        <asp:BoundField DataField="NOMBRE" HeaderText="NOMBRE" ReadOnly="True" />
                        <asp:BoundField DataField="APELLIDO" HeaderText="APELLIDO" ReadOnly="True" />
                    </Columns>
                    <EmptyDataTemplate>
                        No hay datos disponibles.
                    </EmptyDataTemplate>
                    <FooterStyle BackColor="#CCCCCC" ForeColor="Black" />
                    <HeaderStyle BackColor="#000084" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
                    <RowStyle BackColor="#EEEEEE" ForeColor="Black" />
                    <SelectedRowStyle BackColor="#008A8C" Font-Bold="True" ForeColor="White" />
                    <SortedAscendingCellStyle BackColor="#F1F1F1" />
                    <SortedAscendingHeaderStyle BackColor="#0000A9" />
                    <SortedDescendingCellStyle BackColor="#CAC9C9" />
                    <SortedDescendingHeaderStyle BackColor="#000065" />
                </asp:GridView>

            </td>
        </tr>
        <tr>
            <td>
                <br />
            </td>
        </tr>
        <tr>
            <td align="center">
                <asp:Chart ID="ch_rendimiento_Empleado" runat="server" Width="500px" Visible="False" BackColor="ControlLight">
                    <Series>
                        <asp:Series Name="Series1" ChartType="FastLine" YValuesPerPoint="2"></asp:Series>
                    </Series>
                    <ChartAreas>
                        <asp:ChartArea Name="ChartArea1"></asp:ChartArea>
                    </ChartAreas>
                </asp:Chart>

            </td>
        </tr>
        <tr>
            <td>
                <br />
            </td>
        </tr>
    </table>
</asp:Content>
